package com.ruoyi.combat.domain.apprisk;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 combat_phone_app
 * 
 * @author ruoyi
 * @date 2024-08-21
 */
public class CombatPhoneApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long phoneAppId;

    /** 终端id，外键 */
    private Long phoneId;

    /** app的id，外键 */
    private Long appId;

    /** 安装时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date installDate;

    public void setPhoneAppId(Long phoneAppId) 
    {
        this.phoneAppId = phoneAppId;
    }

    public Long getPhoneAppId() 
    {
        return phoneAppId;
    }
    public void setPhoneId(Long phoneId) 
    {
        this.phoneId = phoneId;
    }

    public Long getPhoneId() 
    {
        return phoneId;
    }
    public void setAppId(Long appId) 
    {
        this.appId = appId;
    }

    public Long getAppId() 
    {
        return appId;
    }
    public void setInstallDate(Date installDate) 
    {
        this.installDate = installDate;
    }

    public Date getInstallDate() 
    {
        return installDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("phoneAppId", getPhoneAppId())
            .append("phoneId", getPhoneId())
            .append("appId", getAppId())
            .append("installDate", getInstallDate())
            .toString();
    }
}
